package com.wzu.entity;

public class Result {

    public String message;

    public Object data;

    public int code;

    public Result(){
    }

    public Result(String message, Object data, int code) {
        this.message = message;
        this.data = data;
        this.code = code;
    }
    public String getMessage(){
        return message;
    }
    public void  setMessage(String message){
        this.message = message;
    }
    public Object getData(){
        return data;
    }
    public void setData(Object data){
        this.data = data;
    }
    public int getCode(){
        return code;
    }
    public void setCode(int code){
        this.code = code;
    }
    @Override
    public String toString(){
        return "Result{" +
                "message='" + message + '\'' +
                ", data=" + data +
                ", code=" + code +
                '}';
    }
}
